<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>申请提现</title>
    <link rel="stylesheet" href="css/reset.css" />
    <link rel="stylesheet" href="css/all.css" />
    <script src="js/jquery-1.7.1.min.js"></script>
    <script src="js/PIE.js"></script>
    <script src="js/self.js"></script>
</head>
</body  ontouchstart="">
    <div class="theme-popover-mask"></div>
    <div id="loginIframeDiv" class="loginIframeDiv w100 h100 pf">
        <div class="loginIframe">
            <iframe class="w100 h100 of db" src="login.html" frameborder="0" scrolling="no"  vsspace="0" hspace="0" marginwidth="0" marginheight="0" >

            </iframe>
        </div>
    </div>
    <!--loginIframeDiv-->
    <div id="registIframeDiv" class="loginIframeDiv w100 h100 pf">
        <div class="registIframe">
            <iframe class="w100 h100 of" src="regist.html" frameborder="0" scrolling="no"  vsspace="0" hspace="0" marginwidth="0" marginheight="0">

            </iframe>
        </div>
    </div>
    <div id="forgotPwdIframeDiv" class="loginIframeDiv w100 h100 pf">
        <div class="registIframe">
            <iframe class="w100 h100 of" src="forgotPassword.html" frameborder="0" scrolling="no"  vsspace="0" hspace="0" marginwidth="0" marginheight="0">

            </iframe>
        </div>
    </div>
    <div id="header" class="header pr">
        <div class="w100 pa" style="background:#f3f3f3;left: 0;border-bottom: 0;height: 1px;z-index: -1;bottom: 0;"></div>
        <div class="headerAd w100">
            <img src="images/topad.png" class="db w100 h100">
        </div>
        <div class="w100 of">
            <div class="headernav jz clearfix of">
                <img src="images/maomaozhongchou.png" class="db fl">
                <ul class="fl">
                    <li onclick="window.location.href='index.html'" class="nav_tabcurrent">众筹项目</li>
                    <li onclick="window.location.href='zhongchouBaitiao.html'">众筹白条</li>
                    <li onclick="window.location.href='QiZhiTouZi.html'">二元期货</li>
                    <li onclick="window.location.href='QiZhiTouZi.html'">期指投资</li>
                    <li onclick="window.location.href='faqizhongchou.html'">发起众筹</li>
                    <li onclick="window.location.href='personalManagement.html'">邀请好友</li>
                </ul>
                <div class="headerLogin fr">
                    <div class="w100">
                        <div class="pr dib f15 fr rounded">
                            <div class="dib" id="loginBtn">登陆</div><div class="dib" id="registBtn">注册</div>
                            <span class="pa line"></span>
                        </div>
                        <img src="images/headerMan.png" class="fr">
                    </div>
                </div>
            </div>
        </div>
    </div><!--header-->


    <div class="container jz" style="margin-top: 18px;">
        <div class="w100 of bcf">
            <div class="fqzcTittle jz tc c3 f25 of clearfix">
                提现申请
            </div>
            <p class="c3 f21 tc" style="margin: 42px 0 4px;">可提现金额</p>
            <p class="corange tc"><span style="font-size: 44px;">20,000.</span><span style="font-size: 35px;">00</span></p>
            <div class="tixianData jz" style="width: 519px;margin-top: 50px;">
                <input type="text" name="" id="money" placeholder="提现金额" class="applyInput f20 br6"/>
                <p class="t2 f12 cred"></p>
                <input type="text" name="" id="zhifubao" placeholder="支付宝账号" class="applyInput f20 br6"/>
                <p class="t2 f12 cred"></p>
                <input type="text" name="" id="username" placeholder="收款人姓名" class="applyInput f20 br6"/>
                <p class="t2 f12 cred"></p>
                <input type="password" name="" id="appPwd" placeholder="APP登陆密码" class="applyInput f20 br6"/>
                <p class="t2 f12 cred"></p>
                <input type="button" name="" id="sub" value="确认体现" onclick="Sub();" class="bcblue cf tc f27 br3 db jz" style="width: 402px;height: 63px;line-height: 63px;margin-top: 43px;"/>
                <div class="jz" style="width: 402px;margin-bottom: 52px;">
                    <p class="f15 c9 mgt20">注：每周二可申请提现一次；</p>
                    <p class="f15 c9 tc mgt10">提现需要2~3个工作日，请耐心等待。并留意提现记录。</p>
                </div>
            </div>
        </div>

    </div><!--container-->

    <div id="footer" class="footer w100 of">
        <div class="container jz clearfix of" style="padding: 0;">
            <div class="fl" style="width: 966px">
                <div class="footerNav clearfix of">
                    <a href="#">关于众筹项目</a>
                    <a href="#">关于众筹白条</a>
                    <a href="#">关于二元期货</a>
                    <a href="#">关于期指投资</a>
                    <a href="#">关于我们</a>
                    <a href="#">免责声明</a>
                </div>
                <div class="footerTel clearfix of">
                    <span class="db fl">400-773-9876</span><span class="db fl" style="margin-left: 88px;">0773-1234567</span>
                </div>
                <div class="footerQQ clearfix of f18">
                    <div class="fl">
                        <img src="images/weixin.png" class="dib fl"><span class="db fl">微信客服</span>
                    </div>
                    <div class="fl" style="margin-left: 89px;">
                        <img src="images/qq.png" class="dib fl"><span class="db fl">QQ客服</span>
                    </div>
                </div>
            </div>
            <div class="fr" style="width: 136px;">
                <img src="images/qrCode-index.png" class="db w100 hauto" style="margin-top: 40px;">
                <p class="tc f14 mgt10">手机APP下载</p>
            </div>
        </div>
        <div class="w100 of" style="background: #30323b;">
            <div class="container jz clearfix of ffa f12" style="padding: 0;height: 66px;line-height: 66px;">
                Copyright ©2016&nbsp;&nbsp;&nbsp;&nbsp;七彩云购&nbsp;&nbsp;&nbsp;&nbsp;maomao.com版权所有&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;投资有风险，购买需谨慎
            </div>
        </div>
    </div><!--footer-->

<div id="loadingfDiv" class="loadingfDiv pf w100 h100 db">
    <div class="w100 h100">
        <img src="images/loading.gif" class="db jz" style="margin-top: 40%;">
    </div>
</div><!--loadinfDiv-->
<script>
    function Sub() {
        var money =$.trim($('#money').val());
        var zhifubao = $.trim($('#zhifubao').val());
        var username = $.trim($('#username').val());
        var appPwd = $.trim($('#appPwd').val());
        if(money== ""){
            $('#money').next('p').text('你还未填写提现金额');
            return false;
        }else {
            $('#money').next('p').text(' ');
        }
        if(zhifubao== ""){
            $('#zhifubao').next('p').text('你还未填写支付宝账号');
            return false;
        }else {
            $('#zhifubao').next('p').text(' ');
        }

        if(username== ""){
            $('#username').next('p').text('你还未填写收款人姓名');
            return false;
        }else {
            $('#username').next('p').text(' ');
        }

        if(appPwd== ""){
            $('#appPwd').next('p').text('你还未填写APP登陆密码');
            return false;
        }else {
            $('#appPwd').next('p').text(' ');
        }

        $.ajax({
            url: "",
            data: {money: money, zhifubao: zhifubao,username:username,appPwd:appPwd},
            type: 'post',
            dataType: 'json',
            beforeSend: function () {
                $("#loadingfDiv").fadeIn();
            },
            success: function (data) {
                console.log(data);
                if (data.code == 200) {
//                        alert("您的申请已提交,等待审核");
//                        alert(data.msg);
//                        window.location.reload();
//                        location.href = "withdraw.html";
                }else{
//                        alert(data.msg);
                    //window.history.back(-1);
                }
            },
            error: function (data) {
                alert(data.msg);
                return false;
            },
            complete: function () {
                $("#loadingfDiv").fadeOut();
            }
        });
    }

</script>
</body>
</html>